Integrand size = 25, antiderivative size = 156 \[ \int \frac {(a+a \sec (c+d x))^{5/2}}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {64 a^3 \sqrt {\sec (c+d x)} \sin (c+d x)}{21 d \sqrt {a+a \sec (c+d x)}}+\frac {16 a^2 \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{21 d \sqrt {\sec (c+d x)}}+\frac {2 a (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{7 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {2 (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x)} \]
[Out]
Time = 0.33 (sec) , antiderivative size = 156, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {3897, 3894, 3889} \[ \int \frac {(a+a \sec (c+d x))^{5/2}}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {64 a^3 \sin (c+d x) \sqrt {\sec (c+d x)}}{21 d \sqrt {a \sec (c+d x)+a}}+\frac {16 a^2 \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{21 d \sqrt {\sec (c+d x)}}+\frac {2 a \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{7 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {2 \sin (c+d x) (a \sec (c+d x)+a)^{5/2}}{7 d \sec ^{\frac {5}{2}}(c+d x)} \]
[In]
[Out]
Rule 3889
Rule 3894
Rule 3897
Rubi steps \begin{align*} \text {integral}& = \frac {2 (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x)}+\frac {5}{7} \int \frac {(a+a \sec (c+d x))^{5/2}}{\sec ^{\frac {5}{2}}(c+d x)} \, dx \\ & = \frac {2 a (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{7 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {2 (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x)}+\frac {1}{7} (8 a) \int \frac {(a+a \sec (c+d x))^{3/2}}{\sec ^{\frac {3}{2}}(c+d x)} \, dx \\ & = \frac {16 a^2 \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{21 d \sqrt {\sec (c+d x)}}+\frac {2 a (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{7 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {2 (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x)}+\frac {1}{21} \left (32 a^2\right ) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx \\ & = \frac {64 a^3 \sqrt {\sec (c+d x)} \sin (c+d x)}{21 d \sqrt {a+a \sec (c+d x)}}+\frac {16 a^2 \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{21 d \sqrt {\sec (c+d x)}}+\frac {2 a (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{7 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {2 (a+a \sec (c+d x))^{5/2} \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x)} \\ \end{align*}
Time = 0.38 (sec) , antiderivative size = 74, normalized size of antiderivative = 0.47 \[ \int \frac {(a+a \sec (c+d x))^{5/2}}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {a^2 (208+101 \cos (c+d x)+24 \cos (2 (c+d x))+3 \cos (3 (c+d x))) \sqrt {a (1+\sec (c+d x))} \tan \left (\frac {1}{2} (c+d x)\right )}{42 d \sqrt {\sec (c+d x)}} \]
[In]
[Out]
Time = 1.49 (sec) , antiderivative size = 75, normalized size of antiderivative = 0.48
method | result | size |
default | \(\frac {2 a^{2} \left (3 \cos \left (d x +c \right )^{3}+12 \cos \left (d x +c \right )^{2}+23 \cos \left (d x +c \right )+46\right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{21 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}\) | \(75\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.64 \[ \int \frac {(a+a \sec (c+d x))^{5/2}}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {2 \, {\left (3 \, a^{2} \cos \left (d x + c\right )^{4} + 12 \, a^{2} \cos \left (d x + c\right )^{3} + 23 \, a^{2} \cos \left (d x + c\right )^{2} + 46 \, a^{2} \cos \left (d x + c\right )\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{21 \, {\left (d \cos \left (d x + c\right ) + d\right )} \sqrt {\cos \left (d x + c\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {(a+a \sec (c+d x))^{5/2}}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 323 vs. \(2 (132) = 264\).
Time = 0.38 (sec) , antiderivative size = 323, normalized size of antiderivative = 2.07 \[ \int \frac {(a+a \sec (c+d x))^{5/2}}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {\sqrt {2} {\left (315 \, a^{2} \cos \left (\frac {6}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) \sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) + 77 \, a^{2} \cos \left (\frac {4}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) \sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) + 21 \, a^{2} \cos \left (\frac {2}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) \sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) - 315 \, a^{2} \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) \sin \left (\frac {6}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) - 77 \, a^{2} \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) \sin \left (\frac {4}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) - 21 \, a^{2} \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) \sin \left (\frac {2}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) + 6 \, a^{2} \sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) + 21 \, a^{2} \sin \left (\frac {5}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) + 77 \, a^{2} \sin \left (\frac {3}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) + 315 \, a^{2} \sin \left (\frac {1}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right )\right )} \sqrt {a}}{168 \, d} \]
[In]
[Out]
\[ \int \frac {(a+a \sec (c+d x))^{5/2}}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\int { \frac {{\left (a \sec \left (d x + c\right ) + a\right )}^{\frac {5}{2}}}{\sec \left (d x + c\right )^{\frac {7}{2}}} \,d x } \]
[In]
[Out]
Time = 14.77 (sec) , antiderivative size = 96, normalized size of antiderivative = 0.62 \[ \int \frac {(a+a \sec (c+d x))^{5/2}}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {a^2\,\cos \left (c+d\,x\right )\,\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}\,\sqrt {\frac {a\,\left (\cos \left (c+d\,x\right )+1\right )}{\cos \left (c+d\,x\right )}}\,\left (392\,\sin \left (c+d\,x\right )+98\,\sin \left (2\,c+2\,d\,x\right )+24\,\sin \left (3\,c+3\,d\,x\right )+3\,\sin \left (4\,c+4\,d\,x\right )\right )}{84\,d\,\left (\cos \left (c+d\,x\right )+1\right )} \]
[In]
[Out]